/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.account.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description 储值订单返回集合
 * @Author zhaokw
 * @Date 00:42 2020\6\13 0007
 **/
@Data
@ApiModel(value = "储值订单返回集合")
@Accessors(chain = true)
public class MemberOrderInfoResVo {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "储值订单id")
    private Long orderId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "用户名称")
    private String nikeName;

    @ApiModelProperty(value = "头像url")
    private String avatarUrl;

    @ApiModelProperty(value = "会员卡等级代码")
    private String rankCode;


    @ApiModelProperty(value = "会员卡等级名称")
    private String rankName;

    /**
     * 充值金额
     */
    @ApiModelProperty(value = "充值金额")
    private BigDecimal payAmount;

    /**
     * 付款时间
     */
    @ApiModelProperty(value = "付款时间")
    private LocalDateTime payTime;

    /**
     * 可用余额（表示充值之后当时可用余额）
     */
    @ApiModelProperty(value = "可用余额（表示充值之后当时可用余额）")
    private BigDecimal usableAmount;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String note;

    /**
     * 是否覆盖 0:不覆盖；1：覆盖
     */
    @ApiModelProperty(value = "是否覆盖 0:不覆盖；1：覆盖")
    private Integer state;


}
